package com.atguigu.spzx.manner.mapper;

import com.atguigu.spzx.model.entity.Category;
import com.atguigu.spzx.model.vo.CategoryExcelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.List;

public interface CategoryMapper {
    List<Category> findByParentId(Long parentId);

    Long countByParentId(Long id);

    List<Category> selectAll();

    void insertBatch(ArrayList<CategoryExcelVo> list);
}
